ga.view.streaming
Class ShowRoomState.DoubleClickListener

java.lang.Object
  extended by ga.view.interfaces.MouseListener
      extended by ga.view.streaming.ShowRoomState.DoubleClickListener
All Implemented Interfaces:
com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener
Enclosing class:
ShowRoomState<T extends IIndividual<T>>

private class ShowRoomState.DoubleClickListener
extends MouseListener

Mouse listener that exits this state if a double click has been detected.

Since:
12.08.2012
Author:
Stephan Dreyer

Constructor Summary
private ShowRoomState.DoubleClickListener()
           
 
Method Summary
 void onAction(java.lang.String name, boolean keyPressed, boolean isDoubleClick, float tpf)
          Callback method for mouse events.
 
Methods inherited from class ga.view.interfaces.MouseListener
isEnabled, onAction, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowRoomState.DoubleClickListener

private ShowRoomState.DoubleClickListener()
Method Detail

onAction

public void onAction(java.lang.String name,
                     boolean keyPressed,
                     boolean isDoubleClick,
                     float tpf)
Description copied from class: MouseListener
Callback method for mouse events. Subclasses must implement this to add custom code.

Specified by:
onAction in class MouseListener
Parameters:
name - Name of the action.
keyPressed - true if the key is still pressed.
isDoubleClick - true if it is a double click.
tpf - The time per frame.